package com.haopeng.common.exception;

/**
 * 自定义统一类处理
 * @author Administrator
 *
 */
public class CommonException extends RuntimeException {

	private int code;
	private String message;
	public CommonException(int code, String message) {
		super();
		this.code = code;
		this.message = message;
	}
	public int getCode() {
		return code;
	}
	public String getMessage() {
		return message;
	}
	
}
